[Unit]
Description=Nacos Server
After=network.target

[Service]
User=nacos
Group=nacos
Type=simple
WorkingDirectory=/path/to/nacos/directory
ExecStart=/path/to/nacos/directory/startup.sh -m standalone
ExecStop=/path/to/nacos/directory/shutdown.sh
Restart=on-failure

[Install]
WantedBy=multi-user.target
